# Contributor: Clayton Craft <clayton@craftyguy.net>
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=xapp
pkgver=2.2.12
pkgrel=0
pkgdesc="Components which are common to X-Apps"
arch="all"
url="https://github.com/linuxmint/xapp"
license="LGPL-3.0-only"
makedepends="
	gobject-introspection-dev
	libdbusmenu-gtk3-dev
	libgnomekbd-dev
	meson
	py3-gobject3
	py3-gobject3-dev
	vala"
source="https://github.com/linuxmint/xapp/archive/$pkgver/xapp-$pkgver.tar.gz"
options="!check"  # no tests
subpackages="$pkgname-dev $pkgname-lang"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
1c168b7a0af11aa908063abf6020adbd0d8f7ce8d07faf0085e895515496da71599d14270149c1f1e279029900e17b6b82cd1858c065b1b9f66027f720e235e0  xapp-2.2.12.tar.gz
"
